﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ListCauHinh.ascx.cs" Inherits="CMS.Web.ListManager.ListCauHinh" %>
<table width="100%" align="center" class="Table_Border" style="border-collapse: collapse" cellSpacing="0" cellPadding="0" border="0">
    <tr>
        <td valign="middle" align="center" height="50px">
            <font class="Title">DANH MỤC THÔNG TIN CẤU HÌNH</font></td>
    </tr>
    
    <tr>
        <td width="100%">
            <asp:GridView ID="gridObj" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="ID"
                Width="99%" CellPadding="4" ForeColor="#333333" GridLines="None" 
                PageSize="50" OnPageIndexChanging="gridObj_PageIndexChanging" BackColor="Transparent" BorderColor="#1578f3" BorderWidth=1
                EmptyDataText="Không có cấu hình nào!!" EmptyDataRowStyle-CssClass="Grid_Error" OnRowCreated="gridObj_RowCreated">
                <Columns>
                    <asp:BoundField DataField="TenPhieu" HeaderText="Tên mẫu phiếu" HeaderStyle-Width="25%" >
                        <HeaderStyle HorizontalAlign="Left" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="TenCoQuan" HeaderText="Tên cơ quan" HeaderStyle-Width="35%">
                        <HeaderStyle HorizontalAlign="Left" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="PhongTaoPhieu" HeaderText="Phòng phụ trách">
                        <HeaderStyle HorizontalAlign="Left" />
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>                   
                    <asp:TemplateField HeaderText='Hiệu chỉnh' HeaderStyle-Width="10%">
                        <HeaderStyle HorizontalAlign="Center" />
                        <ItemStyle HorizontalAlign="Center" />
                        <ItemTemplate>
                            <a class="Link-button" href="<%=BaseUrl%>&action=EDIT&objID=<%# Eval("ID")%>">
                                <img src="Images/edit.gif" border="0" />
                            </a>                           
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" CssClass="Paging_Link" />
                <RowStyle CssClass="Row_Document_Round" />
                <PagerStyle BackColor="Transparent" CssClass="Paging_NotLink" HorizontalAlign="Right" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="False" ForeColor="#333333" />
                <HeaderStyle CssClass="Row_Document_Title" />
                <EditRowStyle BackColor="Transparent" />
                <AlternatingRowStyle CssClass="Row_Document_Odd" />
                <EmptyDataRowStyle CssClass="Grid_Error" />
            </asp:GridView>
        </td>
    </tr>    
</table>